<?php

/**
 * Subclass for representing a row from the 'ringtone_synchronize' table.
 *
 * 
 *
 * @package lib.model
 */ 
class RingtoneSynchronize extends BaseRingtoneSynchronize
{
	
	protected  $CreatorName;
	
	protected $ComposerName;
	
	protected $RbtCode;
	
	function getCreatorName()
	{
		$aRingtone = RingtonePeer::retrieveByPK($this->getRingId());
    	
    	if (!$aRingtone)
    	{
    		$aRingtone = new Ringtone();
		}
    	$this->CreatorName =$aRingtone->getCreatorName(); 
    	return $this->CreatorName;
		
	}
	function getComposerName()
	{
		$aRingtone = RingtonePeer::retrieveByPK($this->getRingId());
    	
    	if (!$aRingtone)
    	{
    		$aRingtone = new Ringtone();
		}
    	$this->ComposerName =$aRingtone->getComposerName(); 
    	return $this->ComposerName;
		
	}
	function getRbtCode()
	{
		$aRingtoneextra = RingtoneExtraPeer::retrieveByPK($this->getRingId());
    	
    	if (!$aRingtoneextra)
    	{
    		$aRingtoneextra = new RingtoneExtra();
		}
    	$this->RbtCode =$aRingtoneextra->getRbtCode(); 
    	return $this->RbtCode;
		
	}
}
